| !Run for MacroEdit

Obey <Obey$Dir>.!Boot

| Check OS major version number
RMEnsure UtilityModule 3.10 Error This version of MacroEdit will only run on RISC OS 3.10 or later

| Ensure required external resources have been seen by the filer
If "<System$Path>" = "" Then Error Please open a directory display containing !System
If "<Wimp$ScrapDir>" = "" Then Error Please open a directory display containing !Scrap
If "<Choices$Path>" = "" OR "<Choices$Write>"="" Then Error This version of MacroEdit requires an external location to store choices

| Fix for bug in early versions of window manager
RMEnsure BorderUtils 0.02 RMEnsure WindowManager 3.17 RMLoad System:Modules.BorderUtil

wimpslot -min 272K
wimpslot -min 256K -max 256K

Run <Obey$Dir>.!RunImage  %*0
